const express=require('express');
const app=express();
// app.use(express.static('public'));
app.use('/static',express.static('public'));
app.listen(3000,err=>{
    if(!err) console.log("服务器启动器成功");
    else console.log(err);
})